/*
 * @(#)RecommendationCreateActivity.java $version 2011. 5. 17.
 *
 * Copyright 2011 BOBPLE Corp. All rights Reserved.
 * BOBPLE PROPRIETARY/CONFIDENTIAL. Use is subject to license terms.
 */
package org.doit.android.bobple.recommendation;

import org.doit.android.bobple.R;
import org.doit.android.bobple.base.BaseActivity;

import android.content.Context;
import android.content.Intent;
import android.os.Bundle;
import android.view.View;
import android.view.View.OnClickListener;

/**
 * 밥을 추천받기 위한 조건을 선택하는 화면입니다.
 *
 * @author hoelyun@gmail.com
 *
 */
public class RecommendationChooseActivity extends BaseActivity {

	@Override
	protected void drawOnCreate(Bundle savedInstanceState) {
		inflateContentViewStub(R.layout.recommend_choose);

		//        final ProgressBar progressHorizontal = (ProgressBar) findViewById(R.id.progress_horizontal);
		//        setProgress(progressHorizontal.getProgress() * 100);
		//        setSecondaryProgress(progressHorizontal.getSecondaryProgress() * 100);

		findViewById(R.id.btn_recommend_crate_next).setOnClickListener(clickNextButtionListener);
	}

	/**
	 * 다음 버튼 클릭 이벤트 핸들러
	 */
	private static OnClickListener clickNextButtionListener = new OnClickListener() {
		@Override
		public void onClick(View v) {
			Context context = v.getContext();
			Intent intent = new Intent(context, RecommendationSummaryActivity.class);

			context.startActivity(intent);
		}
	};
}